package com.yyf.springboot2.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.yyf.springboot2.address.Province;
import com.yyf.springboot2.mapper.ProvinceMapper;
import com.yyf.springboot2.service.ProvinceService;

import javax.annotation.Resource;
import java.util.List;

public class ProvinceServiceImpl implements ProvinceService {
    @Resource
    private ProvinceMapper provinceMapper;
    @Override
    public List<Province> getProvinceList() {
        System.out.println(" provinceMapper.selectList(null)");
        System.out.println( provinceMapper.selectList(null) );
        return provinceMapper.selectList(null);
    }

    @Override
    public void init() {

    }
}
